﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Interface_Tier;
using Transfer_Object_Tier;
using System.Data;
using Data_Access_Tier;


namespace Business_Tier
{
    public class BT_HRM_DISCIPLINEData : MarshalByRefObject, IHRM_DISCIPLINEData
    {
        HRM_DISCIPLINEData DISCIPLINEData = new HRM_DISCIPLINEData();

        public int HRM_DISCIPLINE_Delete(string DisciplineCode)
        {
            return DISCIPLINEData.HRM_DISCIPLINE_Delete(DisciplineCode);
        }
        public int HRM_DISCIPLINE_Disable(string DisciplineCode, ref bool Enabled)
        {
            return 1;
        }
        public System.Data.DataSet HRM_DISCIPLINE_Get(string DisciplineCode)
        {
            return DISCIPLINEData.HRM_DISCIPLINE_Get(DisciplineCode);
        }
        public System.Data.DataSet HRM_DISCIPLINE_GetList()
        {
            return DISCIPLINEData.HRM_DISCIPLINE_GetList();
        }
        public int HRM_DISCIPLINE_Insert(string DisciplineCode, string DisciplineName, DateTime DateOccurred, string Location,
            string Description, string Witnesses, bool Violations, string Notes, string Form, bool Settlement, string Reason,
            DateTime Date, string DecideNumber, string Person, string FilePath, int Status)
        {
            return DISCIPLINEData.HRM_DISCIPLINE_Insert(DisciplineCode, DisciplineName, DateOccurred, Location, Description, 
                Witnesses, Violations, Notes, Form, Settlement, Reason, Date, DecideNumber, Person, FilePath, Status);
        }
        public int HRM_DISCIPLINE_Save(string DisciplineCode, string DisciplineName, DateTime DateOccurred, string Location,
            string Description, string Witnesses, bool Violations, string Notes, string Form, bool Settlement, string Reason,
            DateTime Date, string DecideNumber, string Person, string FilePath, int Status)
        {
            return DISCIPLINEData.HRM_DISCIPLINE_Save(DisciplineCode, DisciplineName, DateOccurred, Location, Description,
                Witnesses, Violations, Notes, Form, Settlement, Reason, Date, DecideNumber, Person, FilePath, Status);
        }
        public int HRM_DISCIPLINE_Update(string DisciplineCode, string DisciplineName, DateTime DateOccurred, string Location, 
            string Description, string Witnesses, bool Violations, string Notes, string Form, bool Settlement, string Reason, 
            DateTime Date, string DecideNumber, string Person, string FilePath, int Status)
        {
            return DISCIPLINEData.HRM_DISCIPLINE_Update(DisciplineCode, DisciplineName, DateOccurred, Location, Description,
                Witnesses, Violations, Notes, Form, Settlement, Reason, Date, DecideNumber, Person, FilePath, Status);
        }

    }
}
